package com.tre.jdevtemplateboot.service;

import com.tre.jdevtemplateboot.common.dto.PageQuery;
import com.tre.jdevtemplateboot.common.dto.ResponseResult;
import com.tre.jdevtemplateboot.domain.dto.SpAppGroupMstDto;
import com.tre.jdevtemplateboot.domain.po.SpAppGroupMst;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tre.jdevtemplateboot.domain.vo.SpAppGroupMstVO;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author JDev
 * @since 2023-11-15
 */
@Primary
@Service
public interface ISpAppGroupMstService extends IService<SpAppGroupMst> {

    ResponseResult<SpAppGroupMstVO> findGroupByPage(PageQuery query);

    ResponseResult saveGroup(SpAppGroupMstDto dto);

    ResponseResult editGroup(SpAppGroupMstDto dto);
}
